package com.dgd.test.demo.service;

import com.dgd.test.demo.bean.TeacheBean;

import java.util.List;

/**
 * @program: 726
 * @description:
 * @author: Jaime
 * @create: 2021-07-28 13:58
 **/
public interface TeacherService {

    public TeacheBean findTeacher(Integer teacherId);

    /**
     * 添加到数据库
     * @param teacher
     * @return
     */
    int addTeacher(TeacheBean teacher);

    int deleteTeacher(List<Integer> ids);


    /**
     * 根据讲师id修改讲师信息
     * @param teacher 需要修改的讲师对象
     * @return
     */
    int updateTeacher(TeacheBean teacher);

}
